package chooongg.base.loadState.callback

import android.content.Context
import android.view.View
import android.widget.TextView
import chooongg.base.R

class EmptyCallback : Callback() {
    override fun onReloadEvent(): View? = obtainRootView().findViewById(R.id.btn_refresh)

    override fun getViewLayout() = R.layout.state_empty
    override fun onViewCreated(context: Context, view: View)  = Unit

    override fun onAttach(context: Context, view: View)  = Unit

    override fun getMessageView(): TextView? = obtainRootView().findViewById(R.id.tv_message)

    override fun onDetach(context: Context, view: View)  = Unit

}